﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Model;
using System.Configuration;
using Ext.Net;
using System.Data;
using Newtonsoft.Json;
using System.IO;
using System.Text;

namespace TCDC_System
{
    public partial class test : System.Web.UI.Page
    {
        private Member_profileModel objMemberfile;
        protected void Page_Load(object sender, EventArgs e)
        {
            objMemberfile = new Member_profileModel();
            objMemberfile.strConn = ConfigurationManager.AppSettings["ConnString"];
            Member_profileModel i = new Member_profileModel();
            //i.fname_th = "สุชิน";
            DataTable dt = objMemberfile.getByObject(i);
            StoreUser.DataSource = dt;
            StoreUser.DataBind();

        }
        protected void btAddClick(object sender, EventArgs e)
        {

    
            txttest.Text = "Suchin Inphirut";
        
        }

        protected void btDeleteClick(object sender, EventArgs e)
        {

            X.Msg.Show(new MessageBoxConfig
            {
                Buttons = MessageBox.Button.OK,
                Icon = MessageBox.Icon.INFO,
                Title = "Image Click",
                Message = "ต้องการลบ"
            });

           

        }

    }
}